package com.itheima.springmybatis.dao;

import com.itheima.springmybatis.domain.Log;
import com.itheima.springmybatis.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    void add(User user);

    void del(Integer id);

    List<User> selectAll();

    void setUserLog(Log log);
}
